.simulator-section-cell,
.simulator-section-popup,
.simulator-section-toast,
.simulator-section-picker,
.simulator-section-action-sheet,
.simulator-section-notify,
.simulator-section-dialog,
.simulator-section-collapse,
.simulator-section-cascader,
.simulator-section-image-preview {
  .simulator-block {
    padding: 0;
    background-color: #fafafa;
  }
  .simulator-block-title {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

.demo-loading {
  display: flex;

  .mooli-loading {
    margin: 0 12px;
  }
}

.demo-button {
  .mooli-button {
    margin-right: 16px;
    margin-bottom: 12px;
  }
}

.demo-col {
  .mooli-col {
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    background-clip: content-box;
  }

  .mooli-col:nth-child(odd) {
    background-color: #39a9ed;
  }

  .mooli-col:nth-child(even) {
    background-color: #66c6f2;
  }
}

.demo-grid {
  .mooli-grid-item {
    .mooli-grid-item--content {
      .mooli-icon {
        font-size: 28px;
      }

      > span {
        color: #646566;
        font-size: 12px;
        line-height: 1.5;
        word-break: break-all;
      }
    }
  }
}

.demo-icon {
  text-align: center;

  .mooli-icon {
    margin: 16px 0 16px;
    color: #323233;
    font-size: 32px;
  }

  .mooli-col span {
    display: block;
    height: 36px;
    margin: -4px 0 4px;
    padding: 0 5px;
    color: #646566;
    font-size: 12px;
    line-height: 18px;
  }
}

.demo-overlay {
  .mooli-button {
    margin-right: 16px;
    margin-bottom: 12px;
  }
  .wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    .block {
      width: 120px;
      height: 120px;
      background-color: #fff;
      border-radius: 4px;
    }
  }
}
.demo-cell {
  overflow: hidden;
  margin-bottom: 8px;
  // border-radius: 6px;
  // box-shadow: 0 4px 8px 2px #ebedf0;
  .mooli-cell-group {
    margin-bottom: 8px;
  }
  .mooli-cell-group:last-child {
    margin-bottom: 0;
  }
}
.demo-popup {
  overflow: hidden;
  margin-bottom: 8px;

  .wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    .block {
      width: 120px;
      height: 120px;
      background-color: #fff;
      border-radius: 4px;
    }
  }
}
.demo-popover {
  .mooli-button {
    margin-right: 16px;
    margin-bottom: 12px;
  }
  .mooli-grid-item--content {
    padding: 16px 4px;
    font-size: 14px;
  }
  .annular-demo-list {
    position: relative;
    padding: 0;
    margin: 0;
    & {
      padding: 0;
      margin: 0;
      list-style: none;
      .mooli-button {
        width: 52px;
        margin-right: 8px;
        margin-bottom: 8px;
        // padding: 8px 4px;
      }
      .mooli-button--mini {
        margin-left: 0;
        height: 30px;
      }
      &:last-child {
        margin-right: 0px !important;
      }
    }
    &:nth-child(1),
    &:nth-child(4) {
      margin-left: 50px;
      clear: both;
    }
    &:nth-child(2) {
      width: 60px;
      float: left;
    }
    &:nth-child(3) {
      width: 60px;
      margin-left: 220px;
    }
  }
}

.popover-demo-list {
  padding: 0;
  margin: 0;
  .popover-demo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 128px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
  }
}
.annular-demo-content {
  padding: 16px;
}

.demo-image {
  .text {
    margin-top: 5px;
    color: #646566;
    font-size: 14px;
    text-align: center;
  }
}
.demo-swiper {
  .mooli-swiper--container > .mooli-swiper-item {
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    &:nth-child(1) {
      background-color: #eb2f96;
    }
    &:nth-child(2) {
      background-color: #faad14;
    }
    &:nth-child(3) {
      background-color: #2f54eb;
    }
    &:nth-child(4) {
      background-color: #eb2f96;
    }
    &:nth-child(5) {
      background-color: #fa541c;
    }
    &:nth-child(6) {
      background-color: #2db7f5;
    }
  }
  .mooli-thumbs--thumb {
    .mooli-swiper-item {
      height: 40px;
      line-height: 40px;
      font-size: 12px;
    }
  }
  .mooli-thumbs {
    margin: 8px 0;
  }
  .demo-thumb {
    display: block;
    height: 30px;
    line-height: 30px;
    margin-right: 8px;
  }
  .mooli-thumbs--thumb:last-child {
    .demo-thumb {
      margin-right: 0px;
    }
  }
}
.demo-field {
}
.demo-form {
  .demo-form-button {
    width: 80%;
    margin: 16px auto 0;
  }
}
.demo-pull-refresh,
.demo-list {
  overflow: auto;
  ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .mooli-cell {
    text-align: center;
  }
}
.demo-list {
  // height: 400px;
}
.demo-pull-refresh {
  .mooli-pull-refresh {
    height: calc(100vh - 50px);
  }
  .doge {
    width: auto;
    height: 50px;
  }
}
.demo-sticky {
  overflow: auto;
  .mooli-sticky--fixed {
    left: 20px;
  }
}
.simulator-section-sticky {
  height: 184vh;
  > h1 {
    position: relative;
  }
}
.simulator-section-tab {
  > h1 {
    position: relative;
  }
}
.demo-tabs {
  .mooli-tabs--card {
    .mooli-tabs--content {
      margin: 15px;
    }
  }
  .mooli-tabs--content {
    margin: 15px 0;
  }
  .demo-tabpane-title {
    display: flex;
    align-items: center;
  }
  // .mooli-tabs--vertical .mooli-tabs--content {
  //   display: flex;
  //   align-items: center;
  //   justify-content: center;
  // }
  // .mooli-tabs--content--vertical .mooli-tab-pane {
  //   display: flex;
  //   align-items: center;
  //   justify-content: center;
  // }
}
.demo-uploader {
  .mooli-uploader--input-wrapper {
    display: flex;
    align-items: center;
  }
  .demo-preview-cover {
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 4px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
  }
}
.demo-notice-bar {
  .mooli-notice-bar:not(:first-of-type) {
    margin-top: 4px;
  }
  .demo-notice-bar-swipe {
    height: 40px;
    display: flex;
    align-items: center;
  }
}
.demo-count-down {
  .colon {
    display: inline-block;
    margin: 0 4px;
    color: #ee0a24;
  }
  .block {
    display: inline-block;
    width: 22px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    background-color: #ee0a24;
  }
  .count-down-text {
    display: flex;
    padding: 8px 0;
    font-size: 14px;
  }
  .count-down-btn {
    .mooli-icon {
      font-size: 20px;
    }
    font-size: 14px;
    cursor: pointer;
  }
}
.demo-collapse-title {
  display: flex;
  align-items: center;
  .mooli-icon--question-o {
    margin-left: 4px;
  }
}
.demo-progress {
  .mooli-progress {
    margin: 20px 0;
  }
  .demo-cusprogress {
    border-radius: 8px;
  }
  .demo-progress-custext {
    position: absolute;
    top: 0;
    right: 4px;
    font-size: 10px;
    color: #ee0a24;
  }
}

.demo-blist {
}

.demo-radio-group {
  .mooli-radio {
    margin: 4px 0;
  }
  .mooli-radio--horizontal {
    margin-right: 12px;
  }
  .mooli-radio img {
    height: 20px;
  }
}

.demo-picker {
  .mooli-picker {
    overflow: hidden;
    margin-bottom: 8px;
    border-radius: 6px;
    // box-shadow: 0 4px 8px 2px #ebedf0;
  }
}
.demo-picker-filed {
  .mooli-picker {
    margin-bottom: 0;
  }
}
.demo-slider {
  padding-bottom: 12px;
}
.custom-button {
  width: 26px;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  background-color: #ee0a24;
  border-radius: 100px;
}

.demo-checkbox-group .mooli-checkbox {
  margin: 4px 0;
}

.demo-checkbox-group {
  .mooli-checkbox {
    margin: 4px 0;
  }
  .mooli-checkbox--horizontal {
    margin-right: 12px;
  }
  .mooli-checkbox img {
    height: 20px;
  }
}
.demo-checkbox-buttons {
  margin-top: 16px;
}
.demo-checkbox-buttons {
  .mooli-button {
    margin-right: 16px;
  }
}

.demo-captcha {
  .captcha-result {
    position: absolute !important;
    background: #f5f5f5 !important;
    .captcha-result-content {
      display: flex;
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
    }
  }
  .mooli-captcha--panel--slider-img {
    width: auto;
    height: 100%;
  }
  .mooli-captcha--panel--bg-slider {
    width: 100%;
    height: 100%;
  }
}
.demo-camera {
  overflow: hidden;
  position: relative;
  background-color: rgba(0, 0, 0, 0.4);
  video {
    display: flex;
    width: 100%;
    min-height: 320px;
  }
  .camera-footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #000;
  }
  .camera-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
  }
  .camera-revoke {
    position: absolute;
    right: 40px;
    color: #fff;
    font-size: 24px;
  }
  .camera-qcode {
    display: flex;
    width: 120px;
    height: 120px;
    border-radius: 4px;
    margin: 60px auto;
    background: #fff url("") center center no-repeat;
    background-size: 80% auto;
  }
}
.camera-img {
  width: 100%;
  height: auto;
}
.simulator-section-number-keyboard {
  //padding-bottom: 300px;
  .simulator-block-title {
    display: none;
  }
  .simulator-block {
    margin-top: 0;
    padding: 0;
    margin-bottom: 1px;
  }
}
.simulator-section-password-input  {
  padding-bottom: 300px;
  .simulator-block {
    background-color: #fafafa;
    .mooli-password-input {
      margin: 0;
    }
  }
}
.simulator-section-number-keyboard {
  padding-bottom: 300px;
}
.binput-form {
  .mooli-form-item {
    margin-bottom: 16px;
  }
}
.demo-index-bar {
  //height: 400px;
}
.hot {
  width: 7px;
  height: 7px;
  background: url() center center no-repeat;
  background-size: 100% auto;
}
.mooli-index-bar--index--active {
  .hot {
    width: 7px;
    height: 7px;
    background: url() center center no-repeat;
    background-size: 100% auto;
  }
}
